package com.x4sc.common.dto;

/**
 * Created by sc on 17-4-16.
 */
public class CustomerExceptionDto extends BaseDto {
    private String errorCode;
    private String errorMsg;

    public CustomerExceptionDto() {
        //default constructor for jackson
    }

    public CustomerExceptionDto(String code, String message) {
        setErrorCode(code);
        setErrorMsg(message);
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
